Space Optimization of Counting Sort

نویسندگان

  • Aishwarya Kaul
  • Josef Svenningsson
  • Bo Joel Svensson
  • Mary Sheeran
  • Vasileios Kolonias
  • Artemios G Voyiatzis
  • George Goulas
  • Efthymios Housos
  • Sanjeev Kumar Sharma
  • Prem Sagar Sharma
  • K. J. Bowers
چکیده

Optimization of sorting algorithms is an ongoing research and delivers faster and less space consuming algorithms. The Counting sort algorithm is an integer sorting algorithm and is a very simple and effective way to sort numbers based on their key value. It uses three arrays for computation but in a large input set it can consume a significant amount of memory. This paper puts forward a method to reduce the amount of space required to perform the computation. It reduces the number of arrays or memory required for computation by using just two arrays instead of three, i. e. the input and the count array, removing the need of the third output array.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

In-place associative integer sorting

A novel integer value-sorting technique is proposed replacing bucket sort, distribution counting sort and address calculation sort family of algorithms. It requires only constant amount of additional memory. The technique is inspired from one of the ordinal theories of “serial order in behavior” and explained by the analogy with the three main stages in the formation and retrieval of memory in ...

متن کامل

Optimization of measurement counting time in Gamma-ray spectrometry of soil samples

The method of optimal measurement counting time in Gamma spectrometry for soil samples was studied. Gamma spectrometry was done based on minimum detectable activity using the HPGe- p type with efficiency of 30% and FWHM 1.7keV (for 1.33 MeV 60Co). The samples were IAEA-RG Th-1, IAEA-RGU-1 and IAEA-RGK-1 prepared in bottles. The measurements were done for 12 different counting times from 5 min t...

متن کامل

Enhanced Generic Key-Address Mapping Sort Algorithm

Various methods, such as address-calculation sort, distribution counting sort, radix sort, and bucket sort, adopt the values being sorted to improve sorting efficiency, but require extra storage space. This work presents a specific key-address mapping sort implementation. The proposed algorithm has the advantages of linear average-time performance and no requirement for linked-list data structu...

متن کامل

The technique of in-place associative sorting

In the first place, a novel, yet straightforward in-place integer value-sorting algorithm is presented. It sorts in linear time using constant amount of additional memory for storing counters and indices beside the input array. The technique is inspired from the principal idea behind one of the ordinal theories of “serial order in behavior” and explained by the analogy with the three main stage...

متن کامل

Sorting distinct integers using improved in-place associative sort

In-place associative integer sorting technique was proposed for integer lists which requires only constant amount of additional memory replacing bucket sort, distribution counting sort and address calculation sort family of algorithms. Afterwards, the technique was further improved and an in-place sorting algorithm is proposed where n integers S[0 . . . n− 1] each in the range [0, n− 1] are sor...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016